package cn.itcast.dao;

import cn.itcast.domain.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AccountDao {
    List<Account> findAll();

    int add(Account account);

    void delete(@Param("id") int id);

    void update(Account account);
}
